package com.it.taoyidian.service.impl;

import com.it.taoyidian.entity.UserEntity;
import com.it.taoyidian.mapper.UserMapper;
import com.it.taoyidian.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("userService")
public class UserServiceImpl implements IUserService {
    @Autowired
    private UserMapper userMapper;

    @Override
    public UserEntity login(String password,String phone ) {
        return userMapper.login(password,phone);
    }
}
